Skip to content

Conversation

@ericcurtin
Copy link
Contributor

Before calling them would either lead to an exception being thrown or a null pointer dereference.

Before calling them would either lead to an exception being thrown
or a null pointer dereference.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
@ochafik ochafik merged commit 51a4a07 into google:main Jan 19, 2025
7 checks passed
@ochafik
Copy link
Contributor

ochafik commented Jan 19, 2025

Thanks @ericcurtin ! We'll also need tiny tests to exercise that code in tests/test-syntax.cpp, I'll add some as follow up

@ochafik
Copy link
Contributor

ochafik commented Jan 19, 2025

Only realizing now these weren't plugged yet (pending in #17), was on the fence as to whether to merge as not used by any template, but probably core enough that it's worth merging.

@ericcurtin ericcurtin deleted the fix-bugs branch January 19, 2025 12:42
ochafik referenced this pull request in ochafik/minja Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants